import React, { Component } from "react";
import { Layout } from "antd";
import HeaderComponent from "./HeaderComponent";
import ContentComponent from "./ContentComponent";

import "./layOutDes.scss";
const { Header, Content, Footer } = Layout;


class LayOutDes extends Component {
  constructor(props) {
    super(props);
    this.state = {
      data: []
    };
  }

  //模拟网络请求
  render() {
    return (
      <div className="lay-out-des">
        <div className='subtitle'>
          <div className='subtitle-item'>云南天冶化工有限公司</div>
        </div>
        {/* <Layout> */}
        <Header>
          <HeaderComponent />
        </Header>
        <div className="lay-content">
          <Content>
            <ContentComponent />
          </Content>
        </div>
        <Footer />
        {/* </Layout> */}
      </div>
    );
  }
}
export default LayOutDes;
